import axios from "../utils/axios";

export function login(params) {
    return axios.post('/user/login', params);
}

export function getUserInfo() {
    return axios.get('/user/info');
}